import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.FlowLayout;

import javax.swing.JFrame;
import javax.swing.JPanel;
 
public class Ramka extends JFrame {
    public Ramka() {
        super("POKER");
        JPanel panel = new MyPanel();
        add(panel);
        
        
        JPanel panel1 = new MyPanel2();
        add(panel1);
        
        
        pack();
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        setVisible(true);
        setSize(800,600);
        setLocation(300,100);
        setLayout(new FlowLayout());
        Color tlo = new Color(46, 139, 87);
        getContentPane().setBackground(tlo);
        
    }
}

